package com.tudouji.project.mt.http.response;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class PoiStockOutListResponse {
    @SerializedName("items")
    private ArrayList<WhoutList> items;


    @Data
    public class WhoutList{

        /**
         * item : {"rootOrgId":1000,"itemSn":"example","bizTime":1000,"org":{"orgId":1000,"rootOrgId":1000,"code":"example","name":"example"},"belongOrg":{"orgId":1000,"rootOrgId":1000,"code":"example","name":"example"},"warehouse":{"code":"example","name":"example","id":"example"},"oppositeWarehouse":{},"oppositeOrg":{"type":{},"code":"example","name":"example"},"status":{"id":1,"name":"example"},"remark":"example","type":{"id":1,"name":"example"},"sourceSn":"example","createdTime":1000,"stockMoney":"example","money":"example","tax":"example","noTaxMoney":"example","modifyTime":1000,"version":1,"thirdRelatedSn":"example"}
         * details : [{"id":"example","seqId":1,"warehouse":{"code":"example","name":"example","id":"example"},"goods":{"id":"example","name":"example","code":"example","category":{"code":"example","name":"example","id":"example"},"brand":"example","spec":"example","baseUnit":{"name":"example","id":"example","code":"example"},"units":[{"name":"example","id":"example","code":"example"}],"version":1},"baseUnit":"example","bizUnit":"example","amount":"example","price":"example","money":"example","taxRate":"example","noTaxPrice":"example","noTaxMoney":"example","tax":"example","diffMoney":"example","stockPrice":"example","stockMoney":"example","bizUnitAmount":"example","bizUnitPrice":"example","bizUnitNoTaxPrice":"example","bizUnitStockPrice":"example","batchNum":"example","productionDate":1000,"expirationDate":1000,"shelfLife":1,"barCode":"example","remark":"example","uniqueId":"example"}]
         */

        private ItemBean item;
        private List<DetailsBean> details;

        public ItemBean getItem() {
            return item;
        }

        public void setItem(ItemBean item) {
            this.item = item;
        }

        public List<DetailsBean> getDetails() {
            return details;
        }

        public void setDetails(List<DetailsBean> details) {
            this.details = details;
        }

        public  class ItemBean {
            /**
             * rootOrgId : 1000
             * itemSn : example
             * bizTime : 1000
             * org : {"orgId":1000,"rootOrgId":1000,"code":"example","name":"example"}
             * belongOrg : {"orgId":1000,"rootOrgId":1000,"code":"example","name":"example"}
             * warehouse : {"code":"example","name":"example","id":"example"}
             * oppositeWarehouse : {}
             * oppositeOrg : {"type":{},"code":"example","name":"example"}
             * status : {"id":1,"name":"example"}
             * remark : example
             * type : {"id":1,"name":"example"}
             * sourceSn : example
             * createdTime : 1000
             * stockMoney : example
             * money : example
             * tax : example
             * noTaxMoney : example
             * modifyTime : 1000
             * version : 1
             * thirdRelatedSn : example
             */

            private long rootOrgId;
            private String itemSn;
            private long bizTime;
            private OrgBean org;
            private BelongOrgBean belongOrg;
            private WarehouseBean warehouse;
            private OppositeWarehouseBean oppositeWarehouse;
            private OppositeOrgBean oppositeOrg;
            private StatusBean status;
            private String remark;
            private TypeBeanX type;
            private String sourceSn;
            private long createdTime;
            private String stockMoney;
            private String money;
            private String tax;
            private String noTaxMoney;
            private long modifyTime;
            private int version;
            private String thirdRelatedSn;

            public long getRootOrgId() {
                return rootOrgId;
            }

            public void setRootOrgId(long rootOrgId) {
                this.rootOrgId = rootOrgId;
            }

            public String getItemSn() {
                return itemSn;
            }

            public void setItemSn(String itemSn) {
                this.itemSn = itemSn;
            }

            public long getBizTime() {
                return bizTime;
            }

            public void setBizTime(long bizTime) {
                this.bizTime = bizTime;
            }

            public OrgBean getOrg() {
                return org;
            }

            public void setOrg(OrgBean org) {
                this.org = org;
            }

            public BelongOrgBean getBelongOrg() {
                return belongOrg;
            }

            public void setBelongOrg(BelongOrgBean belongOrg) {
                this.belongOrg = belongOrg;
            }

            public WarehouseBean getWarehouse() {
                return warehouse;
            }

            public void setWarehouse(WarehouseBean warehouse) {
                this.warehouse = warehouse;
            }

            public OppositeWarehouseBean getOppositeWarehouse() {
                return oppositeWarehouse;
            }

            public void setOppositeWarehouse(OppositeWarehouseBean oppositeWarehouse) {
                this.oppositeWarehouse = oppositeWarehouse;
            }

            public OppositeOrgBean getOppositeOrg() {
                return oppositeOrg;
            }

            public void setOppositeOrg(OppositeOrgBean oppositeOrg) {
                this.oppositeOrg = oppositeOrg;
            }

            public StatusBean getStatus() {
                return status;
            }

            public void setStatus(StatusBean status) {
                this.status = status;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public TypeBeanX getType() {
                return type;
            }

            public void setType(TypeBeanX type) {
                this.type = type;
            }

            public String getSourceSn() {
                return sourceSn;
            }

            public void setSourceSn(String sourceSn) {
                this.sourceSn = sourceSn;
            }

            public long getCreatedTime() {
                return createdTime;
            }

            public void setCreatedTime(long createdTime) {
                this.createdTime = createdTime;
            }

            public String getStockMoney() {
                return stockMoney;
            }

            public void setStockMoney(String stockMoney) {
                this.stockMoney = stockMoney;
            }

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public String getTax() {
                return tax;
            }

            public void setTax(String tax) {
                this.tax = tax;
            }

            public String getNoTaxMoney() {
                return noTaxMoney;
            }

            public void setNoTaxMoney(String noTaxMoney) {
                this.noTaxMoney = noTaxMoney;
            }

            public long getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(long modifyTime) {
                this.modifyTime = modifyTime;
            }

            public int getVersion() {
                return version;
            }

            public void setVersion(int version) {
                this.version = version;
            }

            public String getThirdRelatedSn() {
                return thirdRelatedSn;
            }

            public void setThirdRelatedSn(String thirdRelatedSn) {
                this.thirdRelatedSn = thirdRelatedSn;
            }

            public  class OrgBean {
                /**
                 * orgId : 1000
                 * rootOrgId : 1000
                 * code : example
                 * name : example
                 */

                private long orgId;
                private long rootOrgId;
                private String code;
                private String name;

                public long getOrgId() {
                    return orgId;
                }

                public void setOrgId(long orgId) {
                    this.orgId = orgId;
                }

                public long getRootOrgId() {
                    return rootOrgId;
                }

                public void setRootOrgId(long rootOrgId) {
                    this.rootOrgId = rootOrgId;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public  class BelongOrgBean {
                /**
                 * orgId : 1000
                 * rootOrgId : 1000
                 * code : example
                 * name : example
                 */

                private long orgId;
                private long rootOrgId;
                private String code;
                private String name;

                public long getOrgId() {
                    return orgId;
                }

                public void setOrgId(long orgId) {
                    this.orgId = orgId;
                }

                public long getRootOrgId() {
                    return rootOrgId;
                }

                public void setRootOrgId(long rootOrgId) {
                    this.rootOrgId = rootOrgId;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public  class WarehouseBean {
            }

            public  class OppositeWarehouseBean {
            }

            public  class OppositeOrgBean {
                /**
                 * type : {}
                 * code : example
                 * name : example
                 */

                private TypeBean type;
                private String code;
                private String name;

                public TypeBean getType() {
                    return type;
                }

                public void setType(TypeBean type) {
                    this.type = type;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public  class TypeBean {
                }
            }

            public  class StatusBean {
                /**
                 * id : 1
                 * name : example
                 */

                private long id;
                private String name;

                public long getId() {
                    return id;
                }

                public void setId(long id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public  class TypeBeanX {
                /**
                 * id : 1
                 * name : example
                 */

                private long id;
                private String name;

                public long getId() {
                    return id;
                }

                public void setId(long id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }
        }

        public  class DetailsBean {
            /**
             * id : example
             * seqId : 1
             * warehouse : {"code":"example","name":"example","id":"example"}
             * goods : {"id":"example","name":"example","code":"example","category":{"code":"example","name":"example","id":"example"},"brand":"example","spec":"example","baseUnit":{"name":"example","id":"example","code":"example"},"units":[{"name":"example","id":"example","code":"example"}],"version":1}
             * baseUnit : example
             * bizUnit : example
             * amount : example
             * price : example
             * money : example
             * taxRate : example
             * noTaxPrice : example
             * noTaxMoney : example
             * tax : example
             * diffMoney : example
             * stockPrice : example
             * stockMoney : example
             * bizUnitAmount : example
             * bizUnitPrice : example
             * bizUnitNoTaxPrice : example
             * bizUnitStockPrice : example
             * batchNum : example
             * productionDate : 1000
             * expirationDate : 1000
             * shelfLife : 1
             * barCode : example
             * remark : example
             * uniqueId : example
             */

            private String id;
            private int seqId;
            private WarehouseBeanX warehouse;
            private GoodsBean goods;
            private String baseUnit;
            private String bizUnit;
            private String amount;
            private String price;
            private String money;
            private String taxRate;
            private String noTaxPrice;
            private String noTaxMoney;
            private String tax;
            private String diffMoney;
            private String stockPrice;
            private String stockMoney;
            private String bizUnitAmount;
            private String bizUnitPrice;
            private String bizUnitNoTaxPrice;
            private String bizUnitStockPrice;
            private String batchNum;
            private long productionDate;
            private long expirationDate;
            private int shelfLife;
            private String barCode;
            private String remark;
            private String uniqueId;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getSeqId() {
                return seqId;
            }

            public void setSeqId(int seqId) {
                this.seqId = seqId;
            }

            public WarehouseBeanX getWarehouse() {
                return warehouse;
            }

            public void setWarehouse(WarehouseBeanX warehouse) {
                this.warehouse = warehouse;
            }

            public GoodsBean getGoods() {
                return goods;
            }

            public void setGoods(GoodsBean goods) {
                this.goods = goods;
            }

            public String getBaseUnit() {
                return baseUnit;
            }

            public void setBaseUnit(String baseUnit) {
                this.baseUnit = baseUnit;
            }

            public String getBizUnit() {
                return bizUnit;
            }

            public void setBizUnit(String bizUnit) {
                this.bizUnit = bizUnit;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public String getTaxRate() {
                return taxRate;
            }

            public void setTaxRate(String taxRate) {
                this.taxRate = taxRate;
            }

            public String getNoTaxPrice() {
                return noTaxPrice;
            }

            public void setNoTaxPrice(String noTaxPrice) {
                this.noTaxPrice = noTaxPrice;
            }

            public String getNoTaxMoney() {
                return noTaxMoney;
            }

            public void setNoTaxMoney(String noTaxMoney) {
                this.noTaxMoney = noTaxMoney;
            }

            public String getTax() {
                return tax;
            }

            public void setTax(String tax) {
                this.tax = tax;
            }

            public String getDiffMoney() {
                return diffMoney;
            }

            public void setDiffMoney(String diffMoney) {
                this.diffMoney = diffMoney;
            }

            public String getStockPrice() {
                return stockPrice;
            }

            public void setStockPrice(String stockPrice) {
                this.stockPrice = stockPrice;
            }

            public String getStockMoney() {
                return stockMoney;
            }

            public void setStockMoney(String stockMoney) {
                this.stockMoney = stockMoney;
            }

            public String getBizUnitAmount() {
                return bizUnitAmount;
            }

            public void setBizUnitAmount(String bizUnitAmount) {
                this.bizUnitAmount = bizUnitAmount;
            }

            public String getBizUnitPrice() {
                return bizUnitPrice;
            }

            public void setBizUnitPrice(String bizUnitPrice) {
                this.bizUnitPrice = bizUnitPrice;
            }

            public String getBizUnitNoTaxPrice() {
                return bizUnitNoTaxPrice;
            }

            public void setBizUnitNoTaxPrice(String bizUnitNoTaxPrice) {
                this.bizUnitNoTaxPrice = bizUnitNoTaxPrice;
            }

            public String getBizUnitStockPrice() {
                return bizUnitStockPrice;
            }

            public void setBizUnitStockPrice(String bizUnitStockPrice) {
                this.bizUnitStockPrice = bizUnitStockPrice;
            }

            public String getBatchNum() {
                return batchNum;
            }

            public void setBatchNum(String batchNum) {
                this.batchNum = batchNum;
            }

            public long getProductionDate() {
                return productionDate;
            }

            public void setProductionDate(long productionDate) {
                this.productionDate = productionDate;
            }

            public long getExpirationDate() {
                return expirationDate;
            }

            public void setExpirationDate(long expirationDate) {
                this.expirationDate = expirationDate;
            }

            public int getShelfLife() {
                return shelfLife;
            }

            public void setShelfLife(int shelfLife) {
                this.shelfLife = shelfLife;
            }

            public String getBarCode() {
                return barCode;
            }

            public void setBarCode(String barCode) {
                this.barCode = barCode;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getUniqueId() {
                return uniqueId;
            }

            public void setUniqueId(String uniqueId) {
                this.uniqueId = uniqueId;
            }

            public  class WarehouseBeanX {
                /**
                 * code : example
                 * name : example
                 * id : example
                 */

                private String code;
                private String name;
                private String id;

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }
            }

            public  class GoodsBean {
                /**
                 * id : example
                 * name : example
                 * code : example
                 * category : {"code":"example","name":"example","id":"example"}
                 * brand : example
                 * spec : example
                 * baseUnit : {"name":"example","id":"example","code":"example"}
                 * units : [{"name":"example","id":"example","code":"example"}]
                 * version : 1
                 */

                private String id;
                private String name;
                private String code;
                private CategoryBean category;
                private String brand;
                private String spec;
                private BaseUnitBean baseUnit;
                private int version;
                private List<UnitsBean> units;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public CategoryBean getCategory() {
                    return category;
                }

                public void setCategory(CategoryBean category) {
                    this.category = category;
                }

                public String getBrand() {
                    return brand;
                }

                public void setBrand(String brand) {
                    this.brand = brand;
                }

                public String getSpec() {
                    return spec;
                }

                public void setSpec(String spec) {
                    this.spec = spec;
                }

                public BaseUnitBean getBaseUnit() {
                    return baseUnit;
                }

                public void setBaseUnit(BaseUnitBean baseUnit) {
                    this.baseUnit = baseUnit;
                }

                public int getVersion() {
                    return version;
                }

                public void setVersion(int version) {
                    this.version = version;
                }

                public List<UnitsBean> getUnits() {
                    return units;
                }

                public void setUnits(List<UnitsBean> units) {
                    this.units = units;
                }

                public  class CategoryBean {
                    /**
                     * code : example
                     * name : example
                     * id : example
                     */

                    private String code;
                    private String name;
                    private String id;

                    public String getCode() {
                        return code;
                    }

                    public void setCode(String code) {
                        this.code = code;
                    }

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }
                }

                public  class BaseUnitBean {
                    /**
                     * name : example
                     * id : example
                     * code : example
                     */

                    private String name;
                    private String id;
                    private String code;

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getCode() {
                        return code;
                    }

                    public void setCode(String code) {
                        this.code = code;
                    }
                }

                public  class UnitsBean {
                    /**
                     * name : example
                     * id : example
                     * code : example
                     */

                    private String name;
                    private String id;
                    private String code;

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }

                    public String getId() {
                        return id;
                    }

                    public void setId(String id) {
                        this.id = id;
                    }

                    public String getCode() {
                        return code;
                    }

                    public void setCode(String code) {
                        this.code = code;
                    }
                }
            }
        }
    }
}
